package com.webmeeting.chat.wordchat.servlets;

import javax.servlet.http.HttpServletRequest;

import org.apache.catalina.websocket.StreamInbound;
import org.apache.catalina.websocket.WebSocketServlet;

import com.webmeeting.chat.wordchat.events.WordChatMessageInbound;

public class WordChatWebSocketServlet extends WebSocketServlet {

	private static final long serialVersionUID = 1L;

	@Override
	protected StreamInbound createWebSocketInbound(String arg0, HttpServletRequest request) {
		WordChatMessageInbound wcmi = new WordChatMessageInbound(request.getSession());
		return wcmi;
	}

}
